package com.wx.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "PatientInquiryDetailVo")
public class PatientInquiryDetailVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 患者id
	 */
	@ApiModelProperty(value = "患者id")
	@ExcelIgnore
	private String patientId;

	/**
	 * 区域
	 */
	@ApiModelProperty(value = "区域")
	@ExcelProperty(value = "区域", index = 0)
	private String region;

	/**
	 * 大区
	 */
	@ApiModelProperty(value = "大区")
	@ExcelProperty(value = "大区", index = 1)
	private String bigRegion;

	/**
	 * 患者姓名
	 */
	@ApiModelProperty(value = "患者姓名")
	@ExcelProperty(value = "患者姓名", index = 2)
	@ColumnWidth(value = 25)
	private String patientName;

	/**
	 * 护士姓名
	 */
	@ApiModelProperty(value = "护士姓名")
	@ExcelProperty(value = "护士姓名", index = 3)
	@ColumnWidth(value = 25)
	private String nurseName;
	/**
	 * 手机
	 */
	@ExcelProperty(value = "手机", index = 4)
	@ColumnWidth(value = 25)
	private String patientPhone;


	/**
	 * icf编号
	 */
	@ApiModelProperty(value = "icf编号")
	@ExcelProperty(value = "icf编号", index = 5)
	@ColumnWidth(value = 25)
	private String followCode;

	/**
	 * 入组时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(value = "入组时间")
	@ExcelProperty(value = "入组时间", index = 6)
	@ColumnWidth(value = 25)
	private Date joinTime;

	/**
	 * 入组城市编号
	 */
	@ApiModelProperty(value = "入组城市编号")
	@ExcelIgnore
	private String joinCityCode;

	/**
	 * 入组城市
	 */
	@ApiModelProperty(value = "入组城市")
	@ExcelProperty(value = "入组城市", index = 7)
	@ColumnWidth(value = 25)
	private String joinCityName;


	/**
	 * 医院id
	 */
	@ApiModelProperty(value = "医院id")
	@ExcelIgnore
	private String hospitalId;

	/**
	 * 问询日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(value = "问询日期")
	@ExcelProperty(value = "问询日期", index = 8)
	@ColumnWidth(value = 25)
	private Date followTime;

	@ExcelProperty(value = "是否已用安佳因", index = 9)
	@ColumnWidth(value = 25)
	private String prescription;

	@ExcelProperty(value = "目前用药状态", index = 10)
	@ColumnWidth(value = 25)
	private String medicationStatus;

	@ApiModelProperty(value = "问题")
	@ExcelProperty(value = "问题", index = 11)
	@ColumnWidth(value = 25)
	private String question;

	@ApiModelProperty(value = "答复")
	@ExcelProperty(value = "答复", index = 12)
	@ColumnWidth(value = 25)
	private String answer;

	@ExcelIgnore
	private String jsonData;

	@ExcelIgnore
	private Integer status;

}
